package com.glut.campusrepair.entity;

import java.sql.Timestamp;

public class RepairTaskAssignmentDTO {
    private Integer taskId;
    private Integer failureRepairId;
    private Integer repairPersonnelId;
    private String repairPersonnelName;
    private String maintenanceType;
    private Timestamp assignedTime;

    // 构造函数
    public RepairTaskAssignmentDTO(Integer taskId, Integer failureRepairId, Integer repairPersonnelId,
                                   String repairPersonnelName, String maintenanceType, Timestamp assignedTime) {
        this.taskId = taskId;
        this.failureRepairId = failureRepairId;
        this.repairPersonnelId = repairPersonnelId;
        this.repairPersonnelName = repairPersonnelName;
        this.maintenanceType = maintenanceType;
        this.assignedTime = assignedTime;
    }

    // Getters 和 Setters
    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getFailureRepairId() {
        return failureRepairId;
    }

    public void setFailureRepairId(Integer failureRepairId) {
        this.failureRepairId = failureRepairId;
    }

    public Integer getRepairPersonnelId() {
        return repairPersonnelId;
    }

    public void setRepairPersonnelId(Integer repairPersonnelId) {
        this.repairPersonnelId = repairPersonnelId;
    }

    public String getRepairPersonnelName() {
        return repairPersonnelName;
    }

    public void setRepairPersonnelName(String repairPersonnelName) {
        this.repairPersonnelName = repairPersonnelName;
    }

    public String getMaintenanceType() {
        return maintenanceType;
    }

    public void setMaintenanceType(String maintenanceType) {
        this.maintenanceType = maintenanceType;
    }

    public Timestamp getAssignedTime() {
        return assignedTime;
    }

    public void setAssignedTime(Timestamp assignedTime) {
        this.assignedTime = assignedTime;
    }
}
